//
//  ICMBottomBarView.h
//  ICrEAM
//
//  Created by rainimute on 16/11/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ICMBottomBarViewDelegate <NSObject>

@optional
- (void)bottomBarViewDidSelectIndex:(NSInteger)index;

@end

@interface ICMBottomBarView : UIView

@property (nonatomic, weak) id<ICMBottomBarViewDelegate>delegate;

@property (nonatomic, strong) NSMutableArray *bottomButtons;

@property (nonatomic, strong) UILabel *recorderLabel;

+ (instancetype)createBottomBarViewWithTitles:(NSArray*)titles normalImages:(NSArray*)normalImages seletedImages:(NSArray*)seletedImages andFrame:(CGRect)frame;

- (void)setButtonEnable:(NSInteger)index;
- (void)setButtonDisEnable:(NSInteger)index;

@end
